import request from '@/utils/request'

// 查询档位实时列表
export function listRealtime_dw(query) {
  return request({
    url: '/scada/realtime_dw/list',
    method: 'get',
    params: query
  })
}

// 查询档位实时详细
export function getRealtime_dw(id) {
  return request({
    url: '/scada/realtime_dw/' + id,
    method: 'get'
  })
}

// 新增档位实时
export function addRealtime_dw(data) {
  return request({
    url: '/scada/realtime_dw',
    method: 'post',
    data: data
  })
}

// 修改档位实时
export function updateRealtime_dw(data) {
  return request({
    url: '/scada/realtime_dw',
    method: 'put',
    data: data
  })
}

// 删除档位实时
export function delRealtime_dw(id) {
  return request({
    url: '/scada/realtime_dw/' + id,
    method: 'delete'
  })
}
